<?php

class AlbumCreateController extends BaseController
{


	/**
	 * 上传图片
	 */
	public function actionAdmin()
	{
		$model=new Albums('search');
		$model->unsetAttributes();  // clear any default values
		$model->zm_id = Company::model()->getCmpUserId();
		if(isset($_GET['Albums']))
			$model->attributes=$_GET['Albums'];
		
		$this->render('admin',array(
			'model'=>$model,
		));
	}

}
